package org.jaychan.live.user.interfaces;


import org.jaychan.live.user.dto.UserDTO;

import java.util.List;
import java.util.Map;

public interface IUserRpc {

    UserDTO getByUserid(Long userId);

    boolean updateUserInfo(UserDTO userDTO);

    boolean insertOne(UserDTO userDTO);


    Map<Long,UserDTO> batchQueryUserInfo(List<Long> userId);
}
